import { User, Hide, Compass, QuestionFilled, Operation } from '@element-plus/icons-vue'
// about config
const about = {
    __data: [{
        id: 0,
        label: '个人信息',
        icon: User,
    }, {
        id: 1,
        label: '隐私设置',
        icon: Hide
    }, {
        id: 2,
        label: '账号相关',
        icon: Compass
    }, {
        id: 3,
        label: '关于',
        icon: QuestionFilled
    }, {
        id: 4,
        label: '管理员',
        icon: Operation
    }],
    add: function (str) {
        return
    },
    get() {
        return this.__data;
    }
}

const admin_option = [
    '用户管理',
    '消息通知',
    '职位管理',
    '数据统计',
    '其他'
];
const tab_menu = {
    version: 'v1.0.0',
    options: [
        {
            id: 0,
            label: '项目排期管理',
            icon: 'Edit',// 图标
            path: '/' // 路由地址 相对地址
        }, {
            id: 1,
            label: '数据统计',
            icon: 'Search',
            path: '/count'
        }, {
            id: 2,
            label: '动态配置',
            icon: 'DataLine',
            path: '/config'
        }, {
            id: 3,
            label: '系统信息',
            icon: 'Search',
            path: '/sys'
        }
    ]
}
// 用户设置配置
const user_options = {
    version: 'v1.0.0',
    options: [
        {
            id: 0,
            label: '禁止登录',
            icon: 'Lock',// 图标
            type: 'danger',
            lock_id: 1,
        }, {
            id: 1,
            label: '解除禁止',
            icon: 'Unlock',
            type: 'danger',
            lock_id: 0
        }, {
            id: 2,
            label: '删除用户',
            icon: 'Delete',
            type: 'danger',
            lock_id: 2
        }, {
            id: 3,
            label: '设置权限',
            icon: 'Setting',
            lock_id: 2
        }, {
            id: 4,
            label: '修改信息',
            icon: 'More',
            lock_id: 2
        }
    ]
}
export {
    about,
    admin_option,
    tab_menu,
    user_options
}